package com.donn.securitycontrolplatform.dutyinfo.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "角色对象", description = "")
public class Dutyinfo implements Serializable {
    public static final String NAME = "name";
    public static final String ID = "id";
    private static final long serialVersionUID = 1L;


    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "角色名称")
    private String name;

    @ApiModelProperty(value = "角色等级")
    private Integer level;

    /**
     * 角色图片Base64字符串
     */
    private String icon;

    @ApiModelProperty(value = "是否显示在地图上")
    private Boolean mapShow = false;

}
